package chrisbode.cps142.a2;

public class Ticket3D extends MovieTicket {
	public Ticket3D(String title, int totalSeats, int soldSeats) {
		super(title, totalSeats, soldSeats);
	}

	public double getPrice(Patron patronType) {
		if (patronType == Patron.ADULT)
			return 12.50;
		return 6.00;
	}

	/* (non-Javadoc)
	 * @see java.lang.Object#toString()
	 */
	@Override
		public String toString() {
			return this.getTitle() + " (3D) (" + (this.getTotalSeats() - this.getSoldSeats()) + " seat(s))";
		}
}
